<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2018/5/3
  Time: 14:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<style type="text/css">
    .keywords {
        width: 250px;
        font-family: '微软雅黑', sans-serif, serif;
    }
    .span_h{
        background-color: #eff0f1;display: block;height: 30px;
        font-size: 16px;
        line-height:30px;
    }

</style>
<script>
    $(function(){
        window.setTimeout(function(){
            $(".gridCol").removeAttr("title");
        },500);
    });

</script>

<div class="pageHeader">
    <c:if test="${cInfo.roletype=='1'}">
        <form rel="pageForm" onsubmit="return navTabSearch(this);" action="<c:url value='/danger/info/xxtj/1'/>" method="post">
            <div class="searchBar">
                <table class="searchContent">
                    <tr>
                        <td class="dateRange">
                            上传时间：
                            <input type="text" value="<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>" readonly="readonly"
                                   class="date" name="start" dateFmt="yyyy-MM-dd" style="width: 100px;" id="start3">
                            <span class="limit">-</span>
                            <input type="text" value="<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>" readonly="readonly"
                                   class="date" name="end"  dateFmt="yyyy-MM-dd" style="width: 100px;" id="end3">
                        </td>
                        <td>
                            <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                            <div class="buttonActive"><div class="buttonContent"><button type="button" onclick="exportXxForm()"> 导出</button></div></div>
                        </td>
                    </tr>
                </table>
            </div>
        </form>
    </c:if>
</div>
<div class="pageContent">
    <table class="table"  width="100%" layoutH="86">
        <thead>

        <tr>
            <th width="120" align="center" >序号</th>
            <th width="120" align="center" >社区</th>
            <th width="120" align="center"  title="拆除隔离(㎡)">拆除隔离(㎡)</th>
            <th width="120" align="center" title="拆铁珊栏(㎡)">拆铁珊栏(㎡)</th>
            <th width="120" align="center" title="拆违建(㎡)">拆违建(㎡)</th>
            <th width="120" align="center" title="联合执法（次）">联合执法（次）</th>
            <th width="120" align="center" title="停产停业（家）">停产停业（家）</th>
            <th width="120" align="center" title="停租（家）">停租（家）</th>
            <th width="120" align="center" title="停电、停水（家）">停电、停水（家）</th>
            <th width="120" align="center" title="责令停止使用（家）">责令停止使用（家）</th>
            <th width="120" align="center" title="查封（家）">查封（家）</th>
            <th width="120" align="center" title="搬离违规居住（人）">搬离违规居住（人）</th>
            <th width="120" align="center" title="约谈当事人（人）">约谈当事人（人）</th>
            <th width="120" align="center" title="警告(人)">警告(人)</th>
            <th width="120" align="center" title="罚款（元）">罚款（元）</th>
            <th width="120" align="center" title="行政拘留（人）">行政拘留（人）</th>
            <th width="120" align="center" title="刑事拘留（人）">刑事拘留（人）</th>
            <th width="120" align="center" title="取保候审（人）" >取保候审（人）</th>
            <th width="120" align="center" title="约谈涉事负责人（人）">约谈涉事负责人（人）</th>
            <th width="120" align="center" title="责任追究（人）">责任追究（人）</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${list}" var="list" varStatus="state" >
            <tr>
                <td>${state.count+(pager.pageNum-1)*pager.numPerPage}</td>
                <td >
                        ${list.name}
                </td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=glmj"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.glmj}</a></td>

                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=zlmj"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.zlmj}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=wjmj"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.wjmj}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=lhzf"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.lhzf}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=tytc"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.tytc}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=tz"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.tz}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=tstd"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.tstd}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=zltzsy"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.zltzsy}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=cf"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.cf}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=blwgjz"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.blwgjz}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=ytdsr"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.ytdsr}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=jgrs"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.jgrs}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=fkje"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.fkje}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=xzjlrs"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.xzjlrs}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=xsjlrs"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.xsjlrs}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/detail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&column=qbhsrs"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.qbhsrs}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/wzzjdetail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&wzzjlb=1"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.ytssfzr}</a></td>
                <td><a style="color:blue;text-decoration-line: underline;"
                       href="<c:url value='/danger/info/xxtj/wzzjdetail/3'/>?start=<fmt:formatDate value="${timeChoose.start}" pattern="yyyy-MM-dd"/>&end=<fmt:formatDate value="${timeChoose.end}" pattern="yyyy-MM-dd"/>&sqid=${list.id}&pcsid=${timeChoose.data}&wzzjlb=2"
                       target="dialog" mask="true" resizable="false"
                       width="1200" height="600" title="街道" rel="page_info1_detail1">${list.zrzj}</a></td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</div>
<script type="text/javascript">
    function exportXxForm(){
        var url = "<c:url value='/danger/info/xxtjExport/1'/>?start="+$("#start3").val()+"&end="+$("#end3").val();
        window.open(url,"_blank");
    }
</script>
